
ulimit -v unlimited  
ulimit -c unlimited  
ulimit -s unlimited

THIS_dir=$(pwd)
cd  ${THIS_dir}/400.perlbench 
printf "********************>400.perlbench ********************\n" 
time -p taskset -c 3 ./perlbench_${tune}.${extNAME} -I./lib checkspam.pl 2500 5 25 11 150 1 1 1 1 > checkspam.2500.5.25.11.150.1.1.1.1.out 2>> checkspam.2500.5.25.11.150.1.1.1.1.err
time -p taskset -c 3 ./perlbench_${tune}.${extNAME} -I./lib diffmail.pl 4 800 10 17 19 300 > diffmail.4.800.10.17.19.300.out 2>> diffmail.4.800.10.17.19.300.err
time -p taskset -c 3 ./perlbench_${tune}.${extNAME} -I./lib splitmail.pl 1600 12 26 16 4500 > splitmail.1600.12.26.16.4500.out 2>> splitmail.1600.12.26.16.4500.err
printf "********************\n"
cat checkspam.2500.5.25.11.150.1.1.1.1.err
cat diffmail.4.800.10.17.19.300.err
cat splitmail.1600.12.26.16.4500.err
printf "\n\n"

cd  ${THIS_dir}/401.bzip2 
printf "********************>401.bzip2  ********************\n" 
time -p taskset -c 3 ./bzip2_${tune}.${extNAME} input.source 280 > input.source.out 2>> input.source.err
time -p taskset -c 3 ./bzip2_${tune}.${extNAME} chicken.jpg 30 > chicken.jpg.out 2>> chicken.jpg.err
time -p taskset -c 3 ./bzip2_${tune}.${extNAME} liberty.jpg 30 > liberty.jpg.out 2>> liberty.jpg.err
time -p taskset -c 3 ./bzip2_${tune}.${extNAME} input.program 280 > input.program.out 2>> input.program.err
time -p taskset -c 3 ./bzip2_${tune}.${extNAME} text.html 280 > text.html.out 2>> text.html.err
time -p taskset -c 3 ./bzip2_${tune}.${extNAME} input.combined 200 > input.combined.out 2>> input.combined.err
printf "********************\n"
cat input.source.err
cat chicken.jpg.err
cat liberty.jpg.err
cat input.program.err
cat text.html.err
cat input.combined.err
printf "\n\n"

cd  ${THIS_dir}/403.gcc 
printf "********************>403.gcc ********************\n" 
time -p taskset -c 3 ./gcc_${tune}.${extNAME} 166.i -o 166.s > 166.out 2>> 166.err
time -p taskset -c 3 ./gcc_${tune}.${extNAME} 200.i -o 200.s > 200.out 2>> 200.err
time -p taskset -c 3 ./gcc_${tune}.${extNAME} c-typeck.i -o c-typeck.s > c-typeck.out 2>> c-typeck.err
time -p taskset -c 3 ./gcc_${tune}.${extNAME} cp-decl.i -o cp-decl.s > cp-decl.out 2>> cp-decl.err
time -p taskset -c 3 ./gcc_${tune}.${extNAME} expr.i -o expr.s > expr.out 2>> expr.err
time -p taskset -c 3 ./gcc_${tune}.${extNAME} expr2.i -o expr2.s > expr2.out 2>> expr2.err
time -p taskset -c 3 ./gcc_${tune}.${extNAME} g23.i -o g23.s > g23.out 2>> g23.err
time -p taskset -c 3 ./gcc_${tune}.${extNAME} s04.i -o s04.s > s04.out 2>> s04.err
time -p taskset -c 3 ./gcc_${tune}.${extNAME} scilab.i -o scilab.s > scilab.out 2>> scilab.err
printf "********************\n"
cat 166.err
cat c-typeck.err
cat cp-decl.err
cat 200.err
cat expr.err
cat expr2.err
cat g23.err
cat s04.err
cat scilab.err
printf "\n\n"

cd  ${THIS_dir}/429.mcf 
printf "********************>429.mcf  ********************\n" 
time -p taskset -c 3 ./mcf_${tune}.${extNAME} inp.in > inp.out 2>> inp.err
printf "********************\n"
cat inp.err
printf "\n\n"

cd  ${THIS_dir}/445.gobmk 
printf "********************>445.gobmk ********************\n" 
time -p taskset -c 3 ./gobmk_${tune}.${extNAME} --quiet --mode gtp < 13x13.tst > 13x13.out 2>> 13x13.err
time -p taskset -c 3 ./gobmk_${tune}.${extNAME} --quiet --mode gtp < nngs.tst > nngs.out 2>> nngs.err
time -p taskset -c 3 ./gobmk_${tune}.${extNAME} --quiet --mode gtp < score2.tst > score2.out 2>> score2.err
time -p taskset -c 3 ./gobmk_${tune}.${extNAME} --quiet --mode gtp < trevorc.tst > trevorc.out 2>> trevorc.err
time -p taskset -c 3 ./gobmk_${tune}.${extNAME} --quiet --mode gtp < trevord.tst > trevord.out 2>> trevord.err
printf "********************\n"
cat 13x13.err
cat nngs.err
cat score2.err
cat trevorc.err
cat trevord.err
printf "\n\n"

cd  ${THIS_dir}/456.hmmer 
printf "********************>456.hmmer ********************\n" 
time -p taskset -c 3 ./hmmer_${tune}.${extNAME} nph3.hmm swiss41 > nph3.out 2>> nph3.err
time -p taskset -c 3 ./hmmer_${tune}.${extNAME} --fixed 0 --mean 500 --num 500000 --sd 350 --seed 0 retro.hmm > retro.out 2>> retro.err
printf "********************\n"
cat nph3.err
cat retro.err
printf "\n\n"

cd  ${THIS_dir}/458.sjeng 
printf "********************> 458.sjeng ********************\n" 
time -p taskset -c 3 ./sjeng_${tune}.${extNAME} ref.txt > ref.out 2>> ref.err
printf "********************\n"
cat ref.err
printf "\n\n"

cd  ${THIS_dir}/462.libquantum 
printf "********************>462.libquantum  ********************\n" 
time -p taskset -c 3 ./libquantum_${tune}.${extNAME} 1397 8 > ref.out 2>> ref.err
printf "********************\n"
cat ref.err
printf "\n\n"

cd  ${THIS_dir}/464.h264ref 
printf "********************>464.h264ref  ********************\n" 
time -p taskset -c 3 ./h264ref_${tune}.${extNAME} -d foreman_ref_encoder_${tune}line.cfg > foreman_ref_${tune}line_encodelog.out 2>> foreman_ref_${tune}line_encodelog.err
time -p taskset -c 3 ./h264ref_${tune}.${extNAME} -d foreman_ref_encoder_main.cfg > foreman_ref_main_encodelog.out 2>> foreman_ref_main_encodelog.err
time -p taskset -c 3 ./h264ref_${tune}.${extNAME} -d sss_encoder_main.cfg > sss_main_encodelog.out 2>> sss_main_encodelog.err
printf "********************\n"
cat foreman_ref_${tune}line_encodelog.err
cat foreman_ref_main_encodelog.err
cat sss_main_encodelog.err
printf "\n\n"


cd  ${THIS_dir}/471.omnetpp 
printf "********************>471.omnetpp  ********************\n" 
time -p taskset -c 3 ./omnetpp_${tune}.${extNAME} omnetpp.ini > omnetpp.log 2>> omnetpp.err
printf "********************\n"
cat omnetpp.err
printf "\n\n"


cd  ${THIS_dir}/473.astar 
printf "********************>473.astar  ********************\n" 
time -p taskset -c 3 ./astar_${tune}.${extNAME} BigLakes2048.cfg > BigLakes2048.out 2>> BigLakes2048.err
time -p taskset -c 3 ./astar_${tune}.${extNAME} rivers.cfg > rivers.out 2>> rivers.err
printf "********************\n"
cat BigLakes2048.err
cat rivers.err
printf "\n\n"


cd  ${THIS_dir}/483.xalancbmk 
printf "********************>483.xalancbmk ********************\n" 
time -p taskset -c 3 ./Xalan_${tune}.${extNAME} -v t5.xml xalanc.xsl > ref.out 2>> ref.err
printf "********************\n"
cat ref.err
printf "\n\n"


cd  ${THIS_dir}/999.specrand 
printf "********************>999.specrand  ********************\n" 
time -p taskset -c 3 ./specrand_${tune}.${extNAME} 1255432124 234923 > rand.234923.out 2>> rand.234923.err
printf "********************\n"
cat rand.234923.err
printf "\n\n"


cd  ${THIS_dir}/410.bwaves 
printf "********************> 410.bwaves ********************\n" 
time -p taskset -c 3 ./bwaves_${tune}.${extNAME} 2>> bwaves.err
printf "********************\n"
cat bwaves.err
printf "\n\n"


cd  ${THIS_dir}/416.gamess 
printf "********************> 416.gamess ********************\n" 
time -p taskset -c 3 ./gamess_${tune}.${extNAME} < cytosine.2.config > cytosine.2.out 2>> cytosine.2.err
time -p taskset -c 3 ./gamess_${tune}.${extNAME} < h2ocu2+.gradient.config > h2ocu2+.gradient.out 2>> h2ocu2+.gradient.err
time -p taskset -c 3 ./gamess_${tune}.${extNAME} < triazolium.config > triazolium.out 2>> triazolium.err
printf "********************\n"
cat cytosine.2.err
cat h2ocu2+.gradient.err
cat triazolium.err
printf "\n\n"


cd  ${THIS_dir}/433.milc 
printf "********************>433.milc  ********************\n" 
time -p taskset -c 3 ./milc_${tune}.${extNAME} < su3imp.in > su3imp.out 2>> su3imp.err
printf "********************\n"
cat su3imp.err
printf "\n\n"


cd  ${THIS_dir}/434.zeusmp 
printf "********************>434.zeusmp  ********************\n" 
time -p taskset -c 3 ./zeusmp_${tune}.${extNAME} > zeusmp.stdout 2>> zeusmp.err
printf "********************\n"
cat zeusmp.err
printf "\n\n"


cd  ${THIS_dir}/435.gromacs 
printf "********************>435.gromacs  ********************\n" 
time -p taskset -c 3 ./gromacs_${tune}.${extNAME} -silent -deffnm gromacs -nice 0 2>> gromacs.err
printf "********************\n"
cat gromacs.err
printf "\n\n"


cd  ${THIS_dir}/436.cactusADM 
printf "********************>436.cactusADM  ********************\n" 
time -p taskset -c 3 ./cactusADM_${tune}.${extNAME} benchADM.par > benchADM.out 2>> benchADM.err
printf "********************\n"
cat benchADM.err
printf "\n\n"


cd  ${THIS_dir}/437.leslie3d 
printf "********************>437.leslie3d  ********************\n" 
time -p taskset -c 3 ./leslie3d_${tune}.${extNAME} < leslie3d.in > leslie3d.stdout 2>> leslie3d.err
printf "********************\n"
cat leslie3d.err
printf "\n\n"


cd  ${THIS_dir}/444.namd 
printf "********************>444.namd********************\n" 
time -p taskset -c 3 ./namd_${tune}.${extNAME} --input namd.input --iterations 38 --output namd.out > namd.stdout 2>> namd.err
printf "********************\n"
cat namd.err
printf "\n\n"


cd  ${THIS_dir}/447.dealII 
printf "********************>447.dealII  ********************\n" 
time -p taskset -c 3 ./dealII_${tune}.${extNAME} 23 > log 2>> dealII.err
printf "********************\n"
cat dealII.err
printf "\n\n"


cd  ${THIS_dir}/450.soplex 
printf "********************>450.soplex  ********************\n" 
time -p taskset -c 3 ./soplex_${tune}.${extNAME} -s1 -e -m45000 pds-50.mps > pds-50.mps.out 2>> pds-50.mps.stderr
time -p taskset -c 3 ./soplex_${tune}.${extNAME} -m3500 ref.mps > ref.out 2>> ref.stderr
printf "********************\n"
cat pds-50.mps.stderr
cat ref.stderr
printf "\n\n"


cd  ${THIS_dir}/453.povray 
printf "********************>453.povray  ********************\n" 
time -p taskset -c 3 ./povray_${tune}.${extNAME} SPEC-benchmark-ref.ini > SPEC-benchmark-ref.stdout 2>> SPEC-benchmark-ref.stderr
printf "********************\n"
cat SPEC-benchmark-ref.stderr
printf "\n\n"

cd  ${THIS_dir}/454.calculix 
printf "********************>454.calculix  ********************\n" 
time -p taskset -c 3 ./calculix_${tune}.${extNAME} -i  hyperviscoplastic > hyperviscoplastic.log 2>> hyperviscoplastic.err
printf "********************\n"
cat hyperviscoplastic.err
printf "\n\n"


cd  ${THIS_dir}/459.GemsFDTD 
printf "********************>459.GemsFDTD  ********************\n" 
time -p taskset -c 3 ./GemsFDTD_${tune}.${extNAME} > ref.log 2>> ref.err
printf "********************\n"
cat ref.err
printf "\n\n"


cd  ${THIS_dir}/465.tonto 
printf "********************>465.tonto  ********************\n" 
time -p taskset -c 3 ./tonto_${tune}.${extNAME} > tonto.out 2>> tonto.err
printf "********************\n"
cat tonto.err
printf "\n\n"


cd  ${THIS_dir}/470.lbm 
printf "********************>470.lbm  ********************\n" 
time -p taskset -c 3 ./lbm_${tune}.${extNAME} 3000 reference.dat 0 0 100_100_130_ldc.of > lbm.out 2>> lbm.err
printf "********************\n"
cat lbm.err
printf "\n\n"


cd  ${THIS_dir}/481.wrf 
printf "********************>481.wrf  ********************\n" 
time -p taskset -c 3 ./wrf_${tune}.${extNAME} > rsl.out.0000 2>> wrf.err
printf "********************\n"
cat wrf.err
printf "\n\n"


cd  ${THIS_dir}/482.sphinx3 
printf "********************>482.sphinx3 ********************\n" 
time -p taskset -c 3 ./sphinx_livepretend_${tune}.${extNAME} ctlfile . args.an4 > an4.log 2>> an4.err
printf "********************\n"
cat an4.err
printf "\n\n"


cd  ${THIS_dir}/998.specrand 
printf "********************>998.specrand  ********************\n" 
time -p taskset -c 3 ./specrand_${tune}.${extNAME} 1255432124 234923 > rand.234923.out 2>> rand.234923.err
printf "********************\n"
cat rand.234923.err
printf "\n\n"